//package com.example.mybatisplus.service;
//
//public interface BusinessService {
//}
package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.domain.Business;
import com.example.mybatisplus.model.dto.PageDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2024-07-17
 */
public interface BusinessService extends IService<Business> {
    Page<Business> pageList(Business business, PageDTO dto, boolean sortByDistance, boolean sortByStars);




}
